#header
  height: banner-height
  position: relative
  width: 100%
  border-bottom: 1px solid color-border
  z-index: 1
  &:before, &:after
    content: ""
    position: absolute
    left: 0
    right: 0
    height: 40px

#header-outer
  height: 100%
  position: relative

#header-inner
  position: relative
  overflow: hidden

#banner
  position: absolute
  top: 0
  left: 0
  width: 100%
  height: 100%
  background: url(banner-url) center #000
  background-size: cover
  z-index: -1

#header-row
  padding-top: 50px
  text-align: center

$logo-common
  width: logo-size
  height: logo-size
  margin:0 auto
#header-menu
  position: fixed
  box-shadow: rgba(14, 14, 14, 0.26) 0px 0px 10px
  height: 44px
  .header-menu-container
    max-width: 1100px
    margin: 0 auto
    line-height: 44px
    .site-title
      font-size: 20px
      display: inline-block
      vertical-align: top
      font-weight: 600
      color: white
      line-height: 44px
      transition: all 0.5s
      &:hover
        letter-spacing: 3px
    #header-menu-nav
      color: white
      a
        margin-left: 15px
        text-decoration: none
        i
          color: white
          font-size: 18px
        span
          color: white
          font-size: 15px
          letter-spacing: 1px
          transition: all 0.5s
          &:hover
            letter-spacing: 2px
.animated
  -webkit-animation-duration: .3s
  animation-duration: .3s
  -webkit-animation-fill-mode: both
  animation-fill-mode: both
@-webkit-keyframes slideDown {
  0% {
    -webkit-transform: translateY(-70px)
  }
  100% {
    -webkit-transform: translateY(0)
  }
}

@keyframes slideDown {
  0% {
    -webkit-transform: translateY(-70px);
    transform: translateY(-70px)
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0)
  }
}

@-webkit-keyframes slideUp {
  0% {
    -webkit-transform: translateY(0)
  }
  100% {
    -webkit-transform: translateY(-70px)
  }
}

@keyframes slideUp {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0)
  }
  100% {
    -webkit-transform: translateY(-70px);
    transform: translateY(-70px)
  }
}
.slide-down
  -webkit-animation-name: slideDown
  animation-name: slideDown
.slide-up
  -webkit-animation-name: slideUp
  animation-name: slideUp
.header-menu-pos
  top: 0
  left: 0
  width: 100%
  z-index: 6
  line-height: 1.7
  background: none
  border-width: initial
  border-style: none
  border-color: initial
  border-image: initial
  transition: background 0.5s
#logo
  @extend $logo-common
  img
    border-radius: 50%
    transition: all 1.6s cubic-bezier(.17,.67,.62,1.22)
    -webkit-transition: all 1.6s cubic-bezier(.17,.67,.62,1.22)
    -moz-transition: all 1.6s cubic-bezier(.17,.67,.62,1.22)
    -o-transition: all 1.6s cubic-bezier(.17,.67,.62,1.22)
    -ms-transition: all 1.6s cubic-bezier(.17,.67,.62,1.22)
    &:hover
      transform: rotate(360deg);
      -ms-transform: rotate(360deg); /* IE 9 */
      -webkit-transform: rotate(360deg); /* Safari and Chrome */

.header-info
  cursor: pointer
  margin: 15px 0

$header-text
  font-weight: 100
  margin-top: 15px

#header-title
  @extend $header-text
  color: #fff
  letter-spacing: 2px
  h2
    @extend $base-style h2
    transition: all 0.5s
    font-weight: 400
    &:hover
      letter-spacing: 5px

#header-description
  @extend $header-text
  width: 600px
  margin: 20px auto
  padding: 10px 0
  color: #666
  letter-spacing: 5px
  h3
    @extend $base-style h3
.header-nav
  cursor: pointer
  margin: 8px 0
  .social
    text-align: center
    a
      color: #696969
      margin-right: 15px
      transition: 0.2s ease
      position: relative
      &:hover
        color: main-color
        &:after
          right: -50%
          top: -41px
          color: white
          background: main-color
          font-size: 14px
          content: attr(title)
          display: block
          padding: 5px 15px
          position: absolute
          white-space: nowrap
          border-radius: 2px
          text-transform: uppercase
          box-shadow: 0 0 2px rgba(0, 0, 0, 0.2)
          z-index: 10
        &:before
          top: -17px
          right: 8px
          border: solid
          border-color: main-color transparent
          border-width: 5px 5px 0 5px
          content: ""
          display: block
          position: absolute
          z-index: 20
#subtitle-wrap
  margin-top: subtitle-size

#main-nav
  float: left
  margin-left: -15px

$nav-link
  float: left
  color: #fff
  opacity: 0.6
  text-decoration: none
  text-shadow: 0 1px rgba(0, 0, 0, 0.2)
  transition: opacity 0.2s
  display: block
  padding: 20px 15px
  &:hover
    opacity: 1

.nav-icon
  @extend $nav-link
  font-family: font-icon
  text-align: center
  font-size: font-size
  width: font-size
  height: font-size
  padding: 20px 15px
  position: relative
  cursor: pointer

.main-nav-link
  @extend $nav-link
  font-weight: 300
  letter-spacing: 1px
  @media mq-mobile
    display: none

#main-nav-toggle
  display: none
  &:before
    content: "\f0c9"
  @media mq-mobile
    display: block

#sub-nav
  float: right
  margin-right: -15px

#nav-rss-link
  &:before
    content: "\f09e"

#nav-search-btn
  &:before
    content: "\f002"

#search-form-wrap
  position: absolute
  top: 15px
  width: 150px
  height: 30px
  right: -150px
  opacity: 0
  transition: 0.2s ease-out
  &.on
    opacity: 1
    right: 0
  @media mq-mobile
    width: 100%
    right: -100%

.search-form
  position: absolute
  top: 0
  left: 0
  right: 0
  background: #fff
  padding: 5px 15px
  border-radius: 15px
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3)

.search-form-input
  border: none
  background: none
  color: color-default
  width: 100%
  font: 13px font-sans
  outline: none
  &::-webkit-search-results-decoration
  &::-webkit-search-cancel-button
    -webkit-appearance: none

.search-form-submit
  position: absolute
  top: 50%
  right: 10px
  margin-top: -7px
  font: 13px font-icon
  border: none
  background: none
  color: #bbb
  cursor: pointer
  &:hover, &:focus
    color: #777
.mobile-header-menu-button
  display: none